num = 10


def demo1():
    print(num)
    print(title)
    # 报错
    print(name)


title = "czk"
# py是解释性语言，再调用方发师并不会知道name的存在哦
demo1()

name = "name"
